import datetime
import os
case_dir = 'user_interface_0815.xlsx'
destination_file = case_dir.split('.')[0][:-4] + datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')+'.xlsx'

print(destination_file)


today = datetime.datetime.now().strftime('%Y-%m-%d')
surpervise_interface = 'surpervise_interface_'+today
print(type(surpervise_interface))


def getFiles(path, suffix):
    return [os.path.join('/'+os.path.basename('/Users/zhehe/PycharmProjects/testBridge/conf'), file) for root, dirs,
                                              files in os.walk(path) for file in files if file.endswith(suffix)]



if __name__ == '__main__':
    print(getFiles('/Users/zhehe/PycharmProjects/testBridge/conf/', '.md')[0])
    path = '/Users/zhehe/PycharmProjects/testBridge/conf'


